Change parameter names to match the header file and the documentation.
authorMatthias Clasen <matthiasc@src.gnome.org>
Mon, 13 May 2002 22:35:42 +0000 (22:35 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 13 May 2002 22:35:42 +0000 (22:35 +0000)
* gtk/gtkcontainer.c (gtk_container_class_install_child_property):
(gtk_container_class_find_child_property):
(gtk_container_class_list_child_properties):
* gtk/gtkwidget.c (gtk_widget_class_find_style_property):
(gtk_widget_class_list_style_properties): Change parameter names
to match the header file and the documentation.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkcontainer.c
gtk/gtkwidget.c

index 4c0ea57ec095989e6e9ecea3d75532b463669a53..19e9ebef4b9df4c5d65733130fe07ca165a44be7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2002-05-14  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkcontainer.c (gtk_container_class_install_child_property): 
+       (gtk_container_class_find_child_property): 
+       (gtk_container_class_list_child_properties): 
+       * gtk/gtkwidget.c (gtk_widget_class_find_style_property): 
+       (gtk_widget_class_list_style_properties): Change parameter names
+       to match the header file and the documentation.
+
 2002-05-13 Vitaly Tishkov <tvv@sparc.spb.su>
 
         * gtk/gtkfilesel.c
index 4c0ea57ec095989e6e9ecea3d75532b463669a53..19e9ebef4b9df4c5d65733130fe07ca165a44be7 100644 (file)
@@ -1,3 +1,12 @@
+2002-05-14  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkcontainer.c (gtk_container_class_install_child_property): 
+       (gtk_container_class_find_child_property): 
+       (gtk_container_class_list_child_properties): 
+       * gtk/gtkwidget.c (gtk_widget_class_find_style_property): 
+       (gtk_widget_class_list_style_properties): Change parameter names
+       to match the header file and the documentation.
+
 2002-05-13 Vitaly Tishkov <tvv@sparc.spb.su>
 
         * gtk/gtkfilesel.c
index 4c0ea57ec095989e6e9ecea3d75532b463669a53..19e9ebef4b9df4c5d65733130fe07ca165a44be7 100644 (file)
@@ -1,3 +1,12 @@
+2002-05-14  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkcontainer.c (gtk_container_class_install_child_property): 
+       (gtk_container_class_find_child_property): 
+       (gtk_container_class_list_child_properties): 
+       * gtk/gtkwidget.c (gtk_widget_class_find_style_property): 
+       (gtk_widget_class_list_style_properties): Change parameter names
+       to match the header file and the documentation.
+
 2002-05-13 Vitaly Tishkov <tvv@sparc.spb.su>
 
         * gtk/gtkfilesel.c
index 4c0ea57ec095989e6e9ecea3d75532b463669a53..19e9ebef4b9df4c5d65733130fe07ca165a44be7 100644 (file)
@@ -1,3 +1,12 @@
+2002-05-14  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkcontainer.c (gtk_container_class_install_child_property): 
+       (gtk_container_class_find_child_property): 
+       (gtk_container_class_list_child_properties): 
+       * gtk/gtkwidget.c (gtk_widget_class_find_style_property): 
+       (gtk_widget_class_list_style_properties): Change parameter names
+       to match the header file and the documentation.
+
 2002-05-13 Vitaly Tishkov <tvv@sparc.spb.su>
 
         * gtk/gtkfilesel.c
index 4c0ea57ec095989e6e9ecea3d75532b463669a53..19e9ebef4b9df4c5d65733130fe07ca165a44be7 100644 (file)
@@ -1,3 +1,12 @@
+2002-05-14  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkcontainer.c (gtk_container_class_install_child_property): 
+       (gtk_container_class_find_child_property): 
+       (gtk_container_class_list_child_properties): 
+       * gtk/gtkwidget.c (gtk_widget_class_find_style_property): 
+       (gtk_widget_class_list_style_properties): Change parameter names
+       to match the header file and the documentation.
+
 2002-05-13 Vitaly Tishkov <tvv@sparc.spb.su>
 
         * gtk/gtkfilesel.c
index 4c0ea57ec095989e6e9ecea3d75532b463669a53..19e9ebef4b9df4c5d65733130fe07ca165a44be7 100644 (file)
@@ -1,3 +1,12 @@
+2002-05-14  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkcontainer.c (gtk_container_class_install_child_property): 
+       (gtk_container_class_find_child_property): 
+       (gtk_container_class_list_child_properties): 
+       * gtk/gtkwidget.c (gtk_widget_class_find_style_property): 
+       (gtk_widget_class_list_style_properties): Change parameter names
+       to match the header file and the documentation.
+
 2002-05-13 Vitaly Tishkov <tvv@sparc.spb.su>
 
         * gtk/gtkfilesel.c
index e02d3ef3e81673aeffb2ceb2aaf06cd6e6f0659a..a72ae9028e38f90320aa3db490c751c087a2d311 100644 (file)
@@ -625,37 +625,37 @@ gtk_container_child_get (GtkContainer      *container,
 }
 
 void
-gtk_container_class_install_child_property (GtkContainerClass *class,
+gtk_container_class_install_child_property (GtkContainerClass *cclass,
                                            guint              property_id,
                                            GParamSpec        *pspec)
 {
-  g_return_if_fail (GTK_IS_CONTAINER_CLASS (class));
+  g_return_if_fail (GTK_IS_CONTAINER_CLASS (cclass));
   g_return_if_fail (G_IS_PARAM_SPEC (pspec));
   if (pspec->flags & G_PARAM_WRITABLE)
-    g_return_if_fail (class->set_child_property != NULL);
+    g_return_if_fail (cclass->set_child_property != NULL);
   if (pspec->flags & G_PARAM_READABLE)
-    g_return_if_fail (class->get_child_property != NULL);
+    g_return_if_fail (cclass->get_child_property != NULL);
   g_return_if_fail (property_id > 0);
   g_return_if_fail (PARAM_SPEC_PARAM_ID (pspec) == 0);  /* paranoid */
   if (pspec->flags & (G_PARAM_CONSTRUCT | G_PARAM_CONSTRUCT_ONLY))
     g_return_if_fail ((pspec->flags & (G_PARAM_CONSTRUCT | G_PARAM_CONSTRUCT_ONLY)) == 0);
 
-  if (g_param_spec_pool_lookup (_gtk_widget_child_property_pool, pspec->name, G_OBJECT_CLASS_TYPE (class), FALSE))
+  if (g_param_spec_pool_lookup (_gtk_widget_child_property_pool, pspec->name, G_OBJECT_CLASS_TYPE (cclass), FALSE))
     {
       g_warning (G_STRLOC ": class `%s' already contains a child property named `%s'",
-                G_OBJECT_CLASS_NAME (class),
+                G_OBJECT_CLASS_NAME (cclass),
                 pspec->name);
       return;
     }
   g_param_spec_ref (pspec);
   g_param_spec_sink (pspec);
   PARAM_SPEC_SET_PARAM_ID (pspec, property_id);
-  g_param_spec_pool_insert (_gtk_widget_child_property_pool, pspec, G_OBJECT_CLASS_TYPE (class));
+  g_param_spec_pool_insert (_gtk_widget_child_property_pool, pspec, G_OBJECT_CLASS_TYPE (cclass));
 }
 
 /**
  * gtk_container_class_find_child_property:
- * @class: a #GtkContainerClass
+ * @cclass: a #GtkContainerClass
  * @property_name: the name of the child property to find
  * @returns: the #GParamSpec of the child property or %NULL if @class has ho
  *   child property with that name.
@@ -663,37 +663,37 @@ gtk_container_class_install_child_property (GtkContainerClass *class,
  * Finds a child property of a container class by name.
  */
 GParamSpec*
-gtk_container_class_find_child_property (GObjectClass *class,
+gtk_container_class_find_child_property (GObjectClass *cclass,
                                         const gchar  *property_name)
 {
-  g_return_val_if_fail (GTK_IS_CONTAINER_CLASS (class), NULL);
+  g_return_val_if_fail (GTK_IS_CONTAINER_CLASS (cclass), NULL);
   g_return_val_if_fail (property_name != NULL, NULL);
 
   return g_param_spec_pool_lookup (_gtk_widget_child_property_pool,
                                   property_name,
-                                  G_OBJECT_CLASS_TYPE (class),
+                                  G_OBJECT_CLASS_TYPE (cclass),
                                   TRUE);
 }
 
 /**
  * gtk_container_class_list_child_properties:
- * @class: a #GtkContainerClass
+ * @cclass: a #GtkContainerClass
  * @n_properties: location to return the number of child properties found
  * @returns: an newly allocated array of #GParamSpec*. The array must be freed with g_free().
  *
  * Returns all child properties of a container class.
  */
 GParamSpec**
-gtk_container_class_list_child_properties (GObjectClass *class,
+gtk_container_class_list_child_properties (GObjectClass *cclass,
                                           guint        *n_properties)
 {
   GParamSpec **pspecs;
   guint n;
 
-  g_return_val_if_fail (GTK_IS_CONTAINER_CLASS (class), NULL);
+  g_return_val_if_fail (GTK_IS_CONTAINER_CLASS (cclass), NULL);
 
   pspecs = g_param_spec_pool_list (_gtk_widget_child_property_pool,
-                                  G_OBJECT_CLASS_TYPE (class),
+                                  G_OBJECT_CLASS_TYPE (cclass),
                                   &n);
   if (n_properties)
     *n_properties = n;
index 50a0f5fc32b80a06bde806545af13dd2e0cba9eb..463f765e97160c87e92a89c0736984e21942e22e 100644 (file)
@@ -6246,7 +6246,7 @@ gtk_widget_class_install_style_property (GtkWidgetClass *class,
 
 /**
  * gtk_widget_class_find_style_property:
- * @class: a #GtkWidgetClass
+ * @klass: a #GtkWidgetClass
  * @property_name: the name of the style property to find
  * @returns: the #GParamSpec of the style property or %NULL if @class has ho
  *   style property with that name.
@@ -6254,34 +6254,34 @@ gtk_widget_class_install_style_property (GtkWidgetClass *class,
  * Finds a style property of a widget class by name.
  */
 GParamSpec*
-gtk_widget_class_find_style_property (GtkWidgetClass *class,
+gtk_widget_class_find_style_property (GtkWidgetClass *klass,
                                      const gchar    *property_name)
 {
   g_return_val_if_fail (property_name != NULL, NULL);
 
   return g_param_spec_pool_lookup (style_property_spec_pool,
                                   property_name,
-                                  G_OBJECT_CLASS_TYPE (class),
+                                  G_OBJECT_CLASS_TYPE (klass),
                                   TRUE);
 }
 
 /**
  * gtk_widget_class_list_style_properties:
- * @class: a #GtkWidgetClass
+ * @klass: a #GtkWidgetClass
  * @n_properties: location to return the number of style properties found
  * @returns: an newly allocated array of #GParamSpec*. The array must be freed with g_free().
  *
  * Returns all style properties of a widget class.
  */
 GParamSpec**
-gtk_widget_class_list_style_properties (GtkWidgetClass *class,
+gtk_widget_class_list_style_properties (GtkWidgetClass *klass,
                                        guint          *n_properties)
 {
   GParamSpec **pspecs;
   guint n;
 
   pspecs = g_param_spec_pool_list (style_property_spec_pool,
-                                  G_OBJECT_CLASS_TYPE (class),
+                                  G_OBJECT_CLASS_TYPE (klass),
                                   &n);
   if (n_properties)
     *n_properties = n;